package main

import "fmt"

func main() {
	var n = 100
	//fmt 占位符
	//查看类型
	fmt.Printf("%T\n", n)
	//值 ""
	fmt.Printf("%v\n", n)
	//二进制
	fmt.Printf("%b\n", n)
	//八进制
	fmt.Printf("%d\n", n)
	//十进制
	fmt.Printf("%o\n", n)
	//十六进制
	fmt.Printf("%x\n", n)
	var s = "hello"
	//字符串
	fmt.Printf("%s\n", s)
	//# :"hello"
	fmt.Printf("字符串的值："+"%#v\n", s)
}
